﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microhard.Permission.Models;
using Microhard.Permission.Interface;
using Microhard.Permission.Interfaces;
using Microsoft.Practices.Unity;

namespace Microhard.WebUI.Areas.Admin.Controllers
{
    public class UserOpreationController : MicroHardBaseController<UserOperationLogModel>
    {
        private IUserOperationLog _user;
        [Dependency]
        public IUserOperationLog user
        {
            set
            {
                //基类中repository 的使用userimpl 来实现IRepository 中的接口方法
                base._repository = value;
                _user = value;
            }
            get
            {
                return _user;
            }
        }

    }
}
